package com.phynos.web.manager.controller.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 表单提交 各种参数demo
 * <ul>
 * 	<li>URL参数</li>
 *  <li>URL-带中文参数</li>
 *  <li>URL-带json参数</li>
 *  <li>POST（form-data）</li>
 *  <li>POST（x-www-form-urlencoded）</li>
 *  <li>POST（raw）</li>
 *  <li>POST（binary）</li>
 *  <li>常用例子：POST-JSON</li>
 *  <li>常用例子：POST-键值对-中文参数</li>
 *  <li>常用例子：POST-文件和数据混合</li>
 *  <li>HTTP-PUT,DELETE方法处理</li>
 * </ul>
 * @author lupc
 *
 */
@Controller
@RequestMapping("/demo/form")
public class DemoFormController {

	@RequestMapping("/")
	public String getFormDemoView(){
		return "demo/form";
	}
	
}
